/*
 * @Author: mhb
 * @Date: 2021-11-23 11:08:06
 * @LastEditTime: 2021-12-02 15:34:05
 * @LastEditors: Please set LastEditors
 * @Description: 纪检模块路由
 * @FilePath: \cscec-pms-admin-3\src\config\routers\discipline.js
 */
import { RouteView } from '@/layouts'

export default {
    path: '/discipline',
    redirect: '/discipline/orgStructure',
    component: RouteView,
    name: 'Discipline',
    meta: {
        title: '纪检'
    },
    children: [
        {
            path: '/discipline/orgStructure',
            name: 'DisciplineOrgStructure',
            meta: {
                title: '纪检组织架构'
            },
            component: RouteView,
            children: [
                {
                    path: '/discipline/orgStructure/personManage',
                    name: 'DisciplineOrgStructurePM',
                    meta: {
                        title: '纪检人员管理'
                    },
                    component: () => import('@/views/disciplineInspection/orgStructure/personManage')
                },
                {
                    path: '/discipline/orgStructure/personManage/update',
                    meta: {
                        title: '纪检人员',
                        noTab: true
                    },
                    component: () => import('@/views/disciplineInspection/orgStructure/personManage/UpdatePersonManage.vue')
                },
                {
                    path: '/discipline/orgStructure/supervisorReport',
                    name: 'DisciplineOrgStructureSR',
                    meta: {
                        title: '监督员上报'
                    },
                    component: () => import('@/views/disciplineInspection/orgStructure/supervisorReport')
                },
                {
                    path: '/discipline/orgStructure/supervisorReport/update',
                    meta: {
                        title: '监督员',
                        noTab: true
                    },
                    component: () =>
                        import('@/views/disciplineInspection/orgStructure/supervisorReport/UpdateSupervisorReport.vue')
                }
            ]
        },
        {
            path: '/discipline/culturalEducation',
            redirect: '/discipline/culturalEducation/month',
            name: 'DisciplineCulEducation',
            meta: {
                title: '文化教育'
            },
            component: RouteView,
            children: [
                {
                    path: '/discipline/culturalEducation/month',
                    name: 'DisciplineCulEduMonth',
                    meta: {
                        title: '每月一学，每月一案'
                    },
                    component: () => import('@/views/disciplineInspection/culturalEducation/month')
                },
                {
                    path: '/discipline/culturalEducation/month/add',
                    name: 'DisciplineCulEduMonthAdd',
                    meta: {
                        title: '每月一学，每月一案',
                        noTab: true
                    },
                    component: () => import('@/views/disciplineInspection/culturalEducation/month/add')
                },
                {
                    path: '/discipline/culturalEducation/education',
                    name: 'DisciplineCulEduEducation',
                    meta: {
                        title: '廉洁文化教育'
                    },
                    component: () => import('@/views/disciplineInspection/culturalEducation/education')
                },
                {
                    path: '/discipline/culturalEducation/education/add',
                    name: 'DisciplineCulEduEducationAdd',
                    meta: {
                        title: '廉洁文化教育',
                        noTab: true
                    },
                    component: () => import('@/views/disciplineInspection/culturalEducation/education/add')
                },
                {
                    path: '/discipline/culturalEducation/action',
                    name: 'DisciplineCulEduAction',
                    meta: {
                        title: '廉洁共建活动'
                    },
                    component: () => import('@/views/disciplineInspection/culturalEducation/action')
                },
                {
                    path: '/discipline/culturalEducation/action/add',
                    name: 'DisciplineCulEduActionAdd',
                    meta: {
                        title: '廉洁共建活动',
                        noTab: true
                    },
                    component: () => import('@/views/disciplineInspection/culturalEducation/action/add')
                },
                {
                    path: '/discipline/culturalEducation/talk',
                    name: 'DisciplineCulEduTalk',
                    meta: {
                        title: '廉洁谈话'
                    },
                    component: () => import('@/views/disciplineInspection/culturalEducation/talk')
                },
                {
                    path: '/discipline/culturalEducation/talk/add',
                    name: 'DisciplineCulEduTalkAdd',
                    meta: {
                        title: '廉洁谈话',
                        noTab: true
                    },
                    component: () => import('@/views/disciplineInspection/culturalEducation/talk/add')
                }
            ]
        },
        {
            path: '/discipline/integrityCultureConstruction',
            component: RouteView,
            redirect: '/discipline/integrityCultureConstruction/culturalConstructionActivities',
            name: '/discipline/integrityCultureConstruction',
            meta: {
                title: '廉洁文化建设'
            },
            children: [
                {
                    path: '/discipline/integrityCultureConstruction/culturalConstructionActivities',
                    component: () =>
                        import('@/views/disciplineInspection/integrityCultureConstruction/culturalConstructionActivities'),
                    name: '/discipline/integrityCultureConstruction/culturalConstructionActivities',
                    meta: {
                        title: '文化建设活动'
                    }
                },
                {
                    path: '/discipline/integrityCultureConstruction/detail',
                    component: () => import('@/views/disciplineInspection/integrityCultureConstruction/detail'),
                    name: '/discipline/integrityCultureConstruction/detail',
                    meta: {
                        title: '文化建设活动详情',
                        noTab: true
                    }
                },
                {
                    path: '/discipline/integrityCultureConstruction/implementationManagement',
                    component: () =>
                        import('@/views/disciplineInspection/integrityCultureConstruction/implementationManagement'),
                    name: '/discipline/integrityCultureConstruction/implementationManagement',
                    meta: {
                        title: '实施管理'
                    }
                }
            ]
        },
        {
            path: '/disciplineInspection/supervision',
            component: RouteView,
            redirect: '/disciplineInspection/supervision/partySupervision',
            name: '/disciplineInspection/supervision',
            meta: {
                title: '监督工作'
            },
            children: [
                {
                    path: '/disciplineInspection/supervision/partySupervision',
                    component: () => import('@/views/disciplineInspection/supervision/partySupervision'),
                    name: '/disciplineInspection/supervision/partySupervision',
                    meta: {
                        title: '三重一大党务监督'
                    }
                },
                {
                    path: '/disciplineInspection/supervision/partySupervision/updatePartySupervision',
                    component: () =>
                        import('@/views/disciplineInspection/supervision/partySupervision/updatePartySupervision'),
                    name: '/disciplineInspection/supervision/partySupervision/updatePartySupervision',
                    meta: {
                        title: '三重一大党务监督新增',
                        noTab: true
                    }
                },
                {
                    path: '/disciplineInspection/supervision/projectSupervision',
                    component: () => import('@/views/disciplineInspection/supervision/projectSupervision'),
                    name: '/disciplineInspection/supervision/projectSupervision',
                    meta: {
                        title: '项目监督月报'
                    }
                },
                {
                    path: '/disciplineInspection/supervision/projectSupervision/updateProjectSupervision',
                    component: () =>
                        import('@/views/disciplineInspection/supervision/projectSupervision/updateProjectSupervision'),
                    name: '/disciplineInspection/supervision/projectSupervision/updateProjectSupervision',
                    meta: {
                        title: '项目监督月报新增',
                        noTab: true
                    }
                },

                {
                    path: '/disciplineInspection/supervision/supervisionTaskUp',
                    component: () => import('@/views/disciplineInspection/supervision/supervisionTaskUp'),
                    name: '/disciplineInspection/supervision/supervisionTaskUp',
                    meta: {
                        title: '监督任务上报'
                    }
                },
                {
                    path: '/disciplineInspection/supervision/supervisionTaskUp/updateSupervisionTaskUp',
                    component: () =>
                        import('@/views/disciplineInspection/supervision/supervisionTaskUp/updateSupervisionTaskUp'),
                    name: '/disciplineInspection/supervision/supervisionTaskUp/updateSupervisionTaskUp',
                    meta: {
                        title: '完成上报',
                        noTab: true
                    }
                },
                {
                    path: '/disciplineInspection/supervision/supervisionTaskDwon',
                    component: () => import('@/views/disciplineInspection/supervision/supervisionTaskDwon'),
                    name: '/disciplineInspection/supervision/supervisionTaskDwon',
                    meta: {
                        title: '监督任务下达'
                    }
                },
                {
                    path: '/disciplineInspection/supervision/supervisionTaskDwon/updateSupervisionTaskDwon',
                    component: () =>
                        import('@/views/disciplineInspection/supervision/supervisionTaskDwon/updateSupervisionTaskDwon'),
                    name: '/disciplineInspection/supervision/supervisionTaskDwon/updateSupervisionTaskDwon',
                    meta: {
                        title: '监督任务上报新增',
                        noTab: true
                    }
                }
            ]
        }
    ]
}




